{% extends "base.html" %}

{% block title %}文章列表 - {% if categoryName %}{{ categoryName|escape }}{% else %}全部{% endif %}{% endblock %}

{% block content %}
<div id="content" class="narrowcolumn">

    {% for blog in blogList %}
{% include "entry_item.html" %}
    {% endfor %}


    <div class="navigation">
        <div class="alignleft">
            {% if prev_datetime %} 
            <a href="/?action=listBlog&amp;category_name={{ category.name|escape }}&amp;upto_datetime={{ prev_datetime|escape }}">上一页</a> 
            {% else %}
            {% endif %}
            &nbsp;  
            {% if next_datetime %} 
            <a href="/?action=listBlog&amp;category_name={{ category.name|escape }}&amp;upto_datetime={{ next_datetime|escape }}">下一页</a> 
            {% else %}
            {% endif %}

        </div>
        <div class="alignright"></div>
    </div>


</div>

{% include "sidebar.html" %}
{% endblock %}

